<!DOCTYPE html>
<html lang="zh-EN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    /* .box1 {
        position: relative;
        width: 300px;
        height: 500px;
        background-color: pink;
    }

    .box2 {
        position: absolute;
        right: -5px;
        width: 50px;
        height: 50px;
        background-color: black;
    } */
    .tb-promo {
        position: relative;
        margin: 100px auto;
        height: 280px;
        width: 520px;
        background-color: pink;
    }

    .tb-promo img {
        height: 280px;
        width: 520px;
    }

    /* 并集选择器可以声明相同的部分样式 */
    .prev,
    .next {
        margin-top: -15px;
        background-color: black;
        width: 20px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        color: aliceblue;
        text-decoration: none;
    }

    .prev {
        position: absolute;
        top: 50%;
        left: 0px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .next {
        position: absolute;
        top: 50%;
        right: 0px;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .promo-nav {

        position: absolute;
        bottom: 15px;
        left: 50%;
        margin-left: -35px;
        width: 70px;
        height: 13px;
        background-color: rgb(255, 255, 255, .3);
        border-radius: 7px;
    }

    .promo-nav li {
        float: left;
        width: 8px;
        height: 8px;
        background-color: aliceblue;
        margin: 3px;
        border-radius: 50%;
    }

    .promo-nav .selected {
        background-color: rgb(165, 51, 25);
    }
</style>

<body>
    <!-- <div class="box1">
        <div class="box2"></div>
    </div> -->
    <div class="tb-promo">
        <img src="https://img.alicdn.com/imgextra/i2/O1CN01XZC8Dd1IUs179sweg_!!6000000000897-2-tps-846-472.png" alt="">
        <a href="#" class="prev">&lt;</a>

        <a href="#" class="next">&gt;</a>

        <ul class="promo-nav">
            <li class="selected"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>

</body>

</html>